package com.example.movie.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (TVideo)实体类
 *
 * @author makejava
 * @since 2021-04-02 16:51:14
 */
public class TVideo implements Serializable {
    private static final long serialVersionUID = -60798759567884638L;

    private String videoId;
    /**
     * 电影名称
     */
    private String videoTitle;
    /**
     * 封面
     */
    private String videoCover;
    /**
     * 时长
     */
    private String videoTime;
    /**
     * 链接
     */
    private String videoUrl;
    /**
     * 演员
     */
    private String videoPerformer;
    /**
     * 导演
     */
    private String videoDirector;
    /**
     * 简介
     */
    private String videoIntroduction;
    /**
     * 区域
     */
    private String videoRegion;
    /**
     * 播放量
     */
    private Integer playCount;
    /**
     * 上传人
     */
    private String userId;
    /**
     * 上传时间
     */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date createTime;
    /**
     * 启用状态 0,1
     */
    private Integer status;
    /**
     * 审核 0,1
     */
    private Integer isChecked;
    /**
     * 排序时间
     */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date sortTime;
    /**
     * 分类
     */
    private String typeId;
    /**
     * 逻辑删除
     */
    private Integer deleteFlag;

    /**
     * 上映时间
     */
    @JsonFormat(pattern="yyyy")
    private Date showTime;

    public Date getShowTime() {
        return showTime;
    }

    public void setShowTime(Date showTime) {
        this.showTime = showTime;
    }

    private Integer start;

    private Integer limit;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getVideoRegion() {
        return videoRegion;
    }

    public void setVideoRegion(String videoRegion) {
        this.videoRegion = videoRegion;
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getVideoTitle() {
        return videoTitle;
    }

    public void setVideoTitle(String videoTitle) {
        this.videoTitle = videoTitle;
    }

    public String getVideoCover() {
        return videoCover;
    }

    public void setVideoCover(String videoCover) {
        this.videoCover = videoCover;
    }

    public String getVideoTime() {
        return videoTime;
    }

    public void setVideoTime(String videoTime) {
        this.videoTime = videoTime;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getVideoPerformer() {
        return videoPerformer;
    }

    public void setVideoPerformer(String videoPerformer) {
        this.videoPerformer = videoPerformer;
    }

    public String getVideoDirector() {
        return videoDirector;
    }

    public void setVideoDirector(String videoDirector) {
        this.videoDirector = videoDirector;
    }

    public String getVideoIntroduction() {
        return videoIntroduction;
    }

    public void setVideoIntroduction(String videoIntroduction) {
        this.videoIntroduction = videoIntroduction;
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Integer isChecked) {
        this.isChecked = isChecked;
    }

    public Date getSortTime() {
        return sortTime;
    }

    public void setSortTime(Date sortTime) {
        this.sortTime = sortTime;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        return "TVideo {" +
                "videoId : " + videoId + ", " +
                "videoTitle : " + videoTitle + ", " +
                "videoCover : " + videoCover + ", " +
                "videoTime : " + videoTime + ", " +
                "videoUrl : " + videoUrl + ", " +
                "videoPerformer : " + videoPerformer + ", " +
                "videoDirector : " + videoDirector + ", " +
                "videoIntroduction : " + videoIntroduction + ", " +
                "playCount : " + playCount + ", " +
                "userId : " + userId + ", " +
                "createTime : " + createTime + ", " +
                "status : " + status + ", " +
                "isChecked : " + isChecked + ", " +
                "sortTime : " + sortTime + ", " +
                "typeId : " + typeId + ", " +
                "deleteFlag : " + deleteFlag + ", " +
                '}';
    }
}
